#include <linux/sched.h>
#include <linux/kernel.h>

void wait_for_keypress(void);

int ROOT_DEV = 0;

void mount_root(void)
{
    if (MAJOR(ROOT_DEV) == 2) {
        printk("Insert root floppy and press ENTER");
        wait_for_keypress();
    }
    check_disk_change(ROOT_DEV);
}